-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filter Repositories by type #29231
Filter Repositories by type #29231
Conversation
d55b6de
to
04c51f9
Compare
BTW the UI could be improved to use tri-state checkboxes (true, false, indeterminate), it would save half the vertical space and half the translations. Not a requirement but would be nice to have. Unfortunately, indeterminate checkbox does require a bit of JS and can not be done from HTML only. |
The js should not be a problem, but every click in the menu the menu is closed and a the page gets reloaded and I dont know a solution to this |
Let's keep current solution then. Indetermine checkboxes are uncommon in UIs, so they might be confusing UX. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At first glance, many things need to be correctly escaped.
f127130
to
6662065
Compare
INFO: if #29461 got merged, I'll push a commit to fix this pull :) |
or
the later one is more efficient ... but i dont know what should be prefered ... |
Latter seems more clear to me. |
Some lint errors. Related to @6543's recent boolean changes? |
uh 👀 |
yes latest refactores caused it ... addressing it |
@wxiaoguang are you gona re-review it? |
I haven't got time to test. If this concern has been addressed, then it looks good to me. Feel free to merge. |
* upstream/main: Replace some `gt-` classes with `tw-` (go-gitea#29570) Enable/disable owner and repo projects independently (go-gitea#28805) Add an trailing slash to dashboard links (go-gitea#29555) Extend issue template yaml engine (go-gitea#29274) [skip ci] Updated licenses and gitignores Fix workflow trigger event IssueChangeXXX bug (go-gitea#29559) Fix 500 when pushing release to an empty repo (go-gitea#29554) Update js and py dependencies, bump python (go-gitea#29561) Filter Repositories by type (go-gitea#29231)
Filter Repositories by type (resolves #1170, #1318)
before:
after: